Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: do not read config but instead pass the hub prefix to the prependHub modifier #2047

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

mdelapenya
Copy link
Member

What does this PR do?

It removes the need to read the config from the prependHubRegistry image substitutor, and instead receives the prefix from the conf.

Why is it important?

It makes the tests not depend on the singleton config, but instead in the prefix to be used. As a consequence, the unit tests are not flaky anymore.

Related issues

@mdelapenya mdelapenya requested a review from a team as a code owner December 22, 2023 11:11
@mdelapenya mdelapenya added the chore Changes that do not impact the existing functionality label Dec 22, 2023
@mdelapenya mdelapenya self-assigned this Dec 22, 2023
Copy link

netlify bot commented Dec 22, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 2d92539
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/65856ed73dd8450008418a33
😎 Deploy Preview https://deploy-preview-2047--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mdelapenya
Copy link
Member Author

Core test passing. Merging

@mdelapenya mdelapenya merged commit c3a1834 into testcontainers:main Dec 22, 2023
111 checks passed
@mdelapenya mdelapenya deleted the reset-config-image-sub branch December 22, 2023 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Changes that do not impact the existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant